/*
 $Id: rsa_encipher.c,v 1.1 2005/05/20 22:33:44 olivier Exp $
 +----------------------------------------------------------------------+
 | Copyright : mFactories 2001, 2005 
 +----------------------------------------------------------------------+
 | Projet : DataStructure
 +----------------------------------------------------------------------+
 | $Source: /cvs/DataStructure/DataStructureLib/src/encrypt/rsa_encipher.c,v $
 | $Author: olivier $
 | $Date: 2005/05/20 22:33:44 $
 | $Revision: 1.1 $ 
 +----------------------------------------------------------------------+
 | Description :                                              
                                        
 +----------------------------------------------------------------------+
 | Historique :
 $Log: rsa_encipher.c,v $
 Revision 1.1  2005/05/20 22:33:44  olivier
 Explosion des sources : 1 fichier = 1 fonction

 
 +----------------------------------------------------------------------+
*/

/**
 * Inclusions standards
 */
#include <ukapi.h>

/**
 * Inclusions locales
 */
#include <cryptography.h>

/**
 * Fonctions externes
 */
extern Huge rsa_internal_modexp( Huge a, Huge b, Huge n );

void rsa_encipher( Huge texte_clair, Huge * texte_chiffre, RsaPubKey cle_publique ) 
{
	*texte_chiffre = rsa_internal_modexp( texte_clair, cle_publique.e, cle_publique.n );
	
	return;
}
